package com.ouc.pampas;

import java.io.Serializable;
import java.util.Date;

public class AppWithConfigInfo
  implements Serializable
{
  private static final long serialVersionUID = 4841183019498081777L;
  private App app;
  private ConfigInfo frontConfig;
  private ConfigInfo backConfig;
  
  public App getApp()
  {
    return this.app;
  }
  
  public void setApp(App app)
  {
    this.app = app;
  }
  
  public ConfigInfo getFrontConfig()
  {
    return this.frontConfig;
  }
  
  public void setFrontConfig(ConfigInfo frontConfig)
  {
    this.frontConfig = frontConfig;
  }
  
  public ConfigInfo getBackConfig()
  {
    return this.backConfig;
  }
  
  public void setBackConfig(ConfigInfo backConfig)
  {
    this.backConfig = backConfig;
  }
  
  public static class ConfigInfo
    implements Serializable
  {
    private static final long serialVersionUID = -4371408950758643247L;
    private String sign;
    private Date loadedAt;
    
    public String getSign()
    {
      return this.sign;
    }
    
    public void setSign(String sign)
    {
      this.sign = sign;
    }
    
    public Date getLoadedAt()
    {
      return this.loadedAt;
    }
    
    public void setLoadedAt(Date loadedAt)
    {
      this.loadedAt = loadedAt;
    }
    
    public ConfigInfo(String sign, Date loadedAt)
    {
      this.sign = sign;
      this.loadedAt = loadedAt;
    }
  }
}
